]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Switch workspaces when scrolling over activities
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 20 Aug 2023 19:38:37 +0000 (21:38 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 1 Sep 2023 15:07:22 +0000 (15:07 +0000)
The activities button now shows workspace indicators instead
of a label. Adding the ability to switch workspaces without
entering the overview seems like a logical extension.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6928

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2933>

js/ui/panel.js

index 316a90f37f978e535a945841d27af797269c812e..6fa493b6931fd2c3b0d1bd95bcefd2883e5bc81d 100644 (file)
@@ -460,7 +460,7 @@ class ActivitiesButton extends PanelMenu.Button {
                 Main.overview.toggle();
         }
 
-        return Clutter.EVENT_PROPAGATE;
+        return Main.wm.handleWorkspaceScroll(event);
     }
 
     vfunc_key_release_event(event) {